package com.wpw.dream.copy;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

public class Array2List {
	public static void main(String[] args) {  
        //Integer[] datas = new Integer[]{1,2,3,4,5};  
        List list = Arrays.asList(1,2,3);
        list = new ArrayList<>(Arrays.asList(1,2,3));
        list.add(6);
        System.out.println(list.size());  
    }  

    /*enum Week{Sum,Mon,Tue,Web,Thu,Fri,Sat}  
    public static void main(String[] args) {  
        Week[] weeks = {Week.Sum,Week.Mon,Week.Tue,Week.Web,Week.Thu,Week.Fri};  
        List<Week> list = Arrays.asList(weeks);  
        list.add(Week.Sat);  
    }*/  
}
